import 'dart:math';

import 'package:realm/realm.dart';

part 'contract_model.realm.dart';

@RealmModel()
class _Contract {
  @PrimaryKey()
  late int id;
  late String contractNumber;
  late String customerName;
  late String projectName;
  late DateTime contractDate;
  late DateTime expirationDate;
  late bool isRenewed;
  late bool isAbandoned;
  late DateTime? abandonDate;
  late double contractAmount;
  late String contractType;
  late String paymentMethod;
  late String paymentTerms;
  late String remarks;
}
